package com.study.concurrentprogramming;

import lombok.Data;

/**
 * @Description : 用户
 * @Author : guxuemin
 * @Version : V1.0.0
 * @Date : 2021/7/30 11:18
 */
@Data
public class Consumer extends User{
    private String addr;

    public String toString() {
        System.out.println(addr);
        System.out.println(getName());
        return null;
    }
}
